From 9b4174dc907338357795eaad00d1acf5d43e9cba Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 17 May 2016 18:48:35 -0400 Subject: [PATCH] Add info about what's different between debug/release --- src/doc/guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/guide.md b/src/doc/guide.md index 15f87fcf8..e01a65c4f 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -98,6 +98,10 @@ class="s1"> Compiling hello_world v0.1.0 (file:///path/to/project/hello `cargo build --release` puts the resulting binary in `target/release` instead of `target/debug`. +Compiling in debug mode is the default for development-- compilation time is +shorter since the compiler doesn't do optimizations, but the code will run +slower. Release mode takes longer to compile, but the code will run faster. + # Working on an existing Cargo project If you download an existing project that uses Cargo, it’s really easy -- 2.30.2